From 3dd4e2129ba5f29dcfe09ca557148656b6f64d30 Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Thu, 20 Nov 2014 22:03:19 +0800 Subject: [PATCH] Packaging update for new upstream version --- debian/changelog | 17 + debian/control | 29 +- debian/copyright | 124 ++++++-- debian/libopencc-dev.install | 2 +- debian/libopencc1.install | 3 - debian/libopencc1.symbols | 10 - debian/libopencc2.install | 1 + debian/libopencc2.symbols | 290 ++++++++++++++++++ debian/opencc.install | 1 - ...stall-data-file-to-meet-need-of-multi-arch | 15 - ...data-file-to-meet-need-of-multi-arch.patch | 31 ++ debian/patches/lib-name-match-soversion.patch | 15 + debian/patches/series | 4 +- debian/patches/use-system-libraries.patch | 18 ++ debian/python-opencc.install | 1 - debian/rules | 14 +- 16 files changed, 494 insertions(+), 81 deletions(-) delete mode 100644 debian/libopencc1.install delete mode 100644 debian/libopencc1.symbols create mode 100644 debian/libopencc2.install create mode 100644 debian/libopencc2.symbols delete mode 100644 debian/patches/install-data-file-to-meet-need-of-multi-arch create mode 100644 debian/patches/install-data-file-to-meet-need-of-multi-arch.patch create mode 100644 debian/patches/lib-name-match-soversion.patch create mode 100644 debian/patches/use-system-libraries.patch delete mode 100644 debian/python-opencc.install diff --git a/debian/changelog b/debian/changelog index f6b8eb1..e475856 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,20 @@ +opencc (1.0.2-1) experimental; urgency=medium + + * Team upload for new upstream release. + * SONAME transition: libopencc1 -> libopencc2 + * Add libjs-jquery, libtclap-dev, darts, rapidjson-dev to B-D. + * Patches added/updated: + - lib-name-match-soversion.patch: rename library to match SONAME + - install-data-file-to-meet-need-of-multi-arch.patch: updated + - use-system-libraries.patch: do not use embeded libraries + * Use system version of jquery.js instead of embeded one. + * Removed python-opencc, upstream abandoned. + * Updated symbols file. + * Rewrite copyright file to machine-readable format. + * Allow parallel building. + + -- Aron Xu Thu, 20 Nov 2014 17:09:31 +0800 + opencc (0.4.3-2) unstable; urgency=low * Add the python-opencc package to support the Python binding. diff --git a/debian/control b/debian/control index 113dd89..7d4c5f4 100644 --- a/debian/control +++ b/debian/control @@ -5,8 +5,15 @@ Uploaders: LI Daobing , Asias He , YunQiang Su , Osamu Aoki -Build-Depends: cmake, debhelper (>= 9), python-all -Standards-Version: 3.9.5 +Build-Depends: cmake, + darts, + debhelper (>= 9), + doxygen, + libjs-jquery, + libtclap-dev, + python, + rapidjson-dev +Standards-Version: 3.9.6 Section: libs Homepage: http://code.google.com/p/opencc Vcs-Git: git://anonscm.debian.org/pkg-ime/opencc.git @@ -16,14 +23,14 @@ Package: opencc Section: utils Architecture: any Multi-Arch: foreign -Depends: libopencc1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Depends: libopencc2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: simplified-traditional chinese conversion tool opencc is a library for converting character between traditional chinese and simplified chinese. . This package includes the conversion tool. -Package: libopencc1 +Package: libopencc2 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} @@ -40,29 +47,19 @@ Package: libopencc-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libopencc1 (= ${binary:Version}), ${misc:Depends} +Depends: libjs-jquery, libopencc2 (= ${binary:Version}), ${misc:Depends} Description: simplified-traditional chinese conversion library - development opencc is a library for converting character between traditional chinese and simplified chinese. . This package includes the development support files. -Package: python-opencc -Section: python -Architecture: all -Depends: libopencc1, ${misc:Depends}, ${python:Depends} -Description: simplified-traditional chinese conversion library - Python support - opencc is a library for converting character between traditional chinese and - simplified chinese. - . - This package includes the Python binding. - Package: libopencc-dbg Section: debug Priority: extra Architecture: any Multi-Arch: same -Depends: libopencc1 (= ${binary:Version}), ${misc:Depends} +Depends: libopencc2 (= ${binary:Version}), ${misc:Depends} Description: simplified-traditional chinese conversion library - debug opencc is a library for converting character between traditional chinese and simplified chinese. diff --git a/debian/copyright b/debian/copyright index 839ea56..b9a229c 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,36 +1,100 @@ -This work was packaged for Debian by: +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: opencc +Source: https://github.com/BYVoid/OpenCC/releases - LI Daobing on Fri, 11 Jun 2010 19:54:13 +0800 +Files: * +Copyright: 2010-2014, BYVoid +License: Apache-2 -It was downloaded from http://code.google.com/p/opencc +Files: debian/* +Copyright: 2010, LI Daobing + 2014, Aron Xu +License: Apache-2 -Upstream Author: +License: Apache-2 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. - BYVoid +Files: deps/tclap-1.2.1/* +Copyright: 2003, Michael E. Smoot +License: MIT-like + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR + IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. -Copyright: +Files: deps/rapidjson-0.11/* +Copyright: 2011-2014, Milo Yip +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. - Copyright (C) 2010 BYVoid - -License: - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -On Debian systems, the complete text of the Apache version 2.0 license -can be found in `/usr/share/common-licenses/Apache-2.0'. - -The Debian packaging is: - - Copyright (C) 2010 LI Daobing - -and is licensed under Apache License, Version 2.0. +Files: deps/darts-clone/* +Copyright: 2001-2008, Taku Kudoh +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name Nara Institute of Science and Technology may not be used to + endorse or promote products derived from this software without specific + prior written permission. + . + THIS SOFTWARE IS PROVIDED BY Nara Institute of Science and Technology + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE Nara Institute + of Science and Technology BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/libopencc-dev.install b/debian/libopencc-dev.install index 76f28fa..b9fc88b 100644 --- a/debian/libopencc-dev.install +++ b/debian/libopencc-dev.install @@ -1,4 +1,4 @@ usr/include/* -usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* +usr/share/opencc/doc/* diff --git a/debian/libopencc1.install b/debian/libopencc1.install deleted file mode 100644 index f4191f2..0000000 --- a/debian/libopencc1.install +++ /dev/null @@ -1,3 +0,0 @@ -usr/lib/*/lib*.so.* -usr/lib/*/opencc/* -usr/share/locale/* diff --git a/debian/libopencc1.symbols b/debian/libopencc1.symbols deleted file mode 100644 index bf9cc26..0000000 --- a/debian/libopencc1.symbols +++ /dev/null @@ -1,10 +0,0 @@ -libopencc.so.1 libopencc1 #MINVER# - opencc_close@Base 0.1.0 - opencc_convert@Base 0.1.0 - opencc_convert_utf8@Base 0.1.0 - opencc_convert_utf8_free@Base 0.4.3 - opencc_dict_load@Base 0.1.0 - opencc_errno@Base 0.1.0 - opencc_open@Base 0.1.0 - opencc_perror@Base 0.1.0 - opencc_set_conversion_mode@Base 0.1.2 diff --git a/debian/libopencc2.install b/debian/libopencc2.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libopencc2.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/libopencc2.symbols b/debian/libopencc2.symbols new file mode 100644 index 0000000..2811402 --- /dev/null +++ b/debian/libopencc2.symbols @@ -0,0 +1,290 @@ +libopencc.so.2 libopencc2 #MINVER# + opencc_close@Base 1.0.2 + opencc_convert_utf8@Base 1.0.2 + opencc_convert_utf8_free@Base 1.0.2 + opencc_convert_utf8_to_buffer@Base 1.0.2 + opencc_error@Base 1.0.2 + opencc_open@Base 1.0.2 + (c++)"char* std::basic_string, std::allocator >::_S_construct > >(std::istreambuf_iterator >, std::istreambuf_iterator >, std::allocator const&, std::input_iterator_tag)@Base" 1.0.2 + (c++)"Darts::DoubleArrayImpl >::~DoubleArrayImpl()@Base" 1.0.2 + (c++)"Darts::DoubleArrayImpl >::insert(std::vector >::node_t, std::allocator >::node_t> > const&)@Base" 1.0.2 + (c++)"guard variable for rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >& rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >::operator[] >(rapidjson::GenericValue, rapidjson::MemoryPoolAllocator > const&)::NullValue@Base" 1.0.2 + (c++)"non-virtual thunk to opencc::DartsDict::SerializeToFile(_IO_FILE*) const@Base" 1.0.2 + (c++)"non-virtual thunk to opencc::TextDict::SerializeToFile(_IO_FILE*) const@Base" 1.0.2 + (c++)"opencc::BinaryDict::~BinaryDict()@Base" 1.0.2 + (c++)"opencc::BinaryDict::ConstructBuffer(std::basic_string, std::allocator >&, std::vector >&, unsigned long&, std::basic_string, std::allocator >&, std::vector >&, unsigned long&) const@Base" 1.0.2 + (c++)"opencc::BinaryDict::KeyMaxLength() const@Base" 1.0.2 + (c++)"opencc::BinaryDict::NewFromFile(_IO_FILE*)@Base" 1.0.2 + (c++)"opencc::BinaryDict::SerializeToFile(_IO_FILE*) const@Base" 1.0.2 + (c++)"opencc::Config::~Config()@Base" 1.0.2 + (c++)"opencc::Config::Config()@Base" 1.0.2 + (c++)"opencc::ConfigInternal::ParseDict(rapidjson::GenericValue, rapidjson::MemoryPoolAllocator > const&)@Base" 1.0.2 + (c++)"opencc::ConfigInternal::ParseSegmentation(rapidjson::GenericValue, rapidjson::MemoryPoolAllocator > const&)@Base" 1.0.2 + (c++)"opencc::Config::NewFromFile(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"opencc::Config::NewFromString(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"opencc::ConversionChain::ConversionChain(std::list, std::allocator > >)@Base" 1.0.2 + (c++)"opencc::ConversionChain::Convert(std::shared_ptr const&) const@Base" 1.0.2 + (c++)"opencc::Conversion::Convert(char const*) const@Base" 1.0.2 + (c++)"opencc::Conversion::Convert(std::basic_string, std::allocator > const&) const@Base" 1.0.2 + (c++)"opencc::Conversion::Convert(std::shared_ptr const&) const@Base" 1.0.2 + (c++)"opencc::Converter::Convert(char const*, char*) const@Base" 1.0.2 + (c++)"opencc::Converter::~Converter()@Base" 1.0.2 + (c++)"opencc::Converter::Convert(std::basic_string, std::allocator > const&) const@Base" 1.0.2 + (c++)"opencc::DartsDict::~DartsDict()@Base" 1.0.2 + (c++)"opencc::DartsDict::DartsDict()@Base" 1.0.2 + (c++)"opencc::DartsDict::GetLexicon() const@Base" 1.0.2 + (c++)"opencc::DartsDict::KeyMaxLength() const@Base" 1.0.2 + (c++)"opencc::DartsDict::Match(char const*) const@Base" 1.0.2 + (c++)"opencc::DartsDict::MatchPrefix(char const*) const@Base" 1.0.2 + (c++)"opencc::DartsDict::NewFromDict(opencc::Dict const&)@Base" 1.0.2 + (c++)"opencc::DartsDict::NewFromFile(_IO_FILE*)@Base" 1.0.2 + (c++)"opencc::DartsDict::SerializeToFile(_IO_FILE*) const@Base" 1.0.2 + (c++)"opencc::DictEntry::PtrLessThan(opencc::DictEntry const*, opencc::DictEntry const*)@Base" 1.0.2 + (c++)"opencc::DictGroup::~DictGroup()@Base" 1.0.2 + (c++)"opencc::DictGroup::DictGroup(std::list, std::allocator > > const&)@Base" 1.0.2 + (c++)"opencc::DictGroup::GetLexicon() const@Base" 1.0.2 + (c++)"opencc::DictGroup::KeyMaxLength() const@Base" 1.0.2 + (c++)"opencc::DictGroup::MatchAllPrefixes(char const*) const@Base" 1.0.2 + (c++)"opencc::DictGroup::Match(char const*) const@Base" 1.0.2 + (c++)"opencc::DictGroup::MatchPrefix(char const*) const@Base" 1.0.2 + (c++)"opencc::DictGroup::NewFromDict(opencc::Dict const&)@Base" 1.0.2 + (c++)"opencc::Dict::MatchAllPrefixes(char const*) const@Base" 1.0.2 + (c++)"opencc::Dict::MatchPrefix(char const*) const@Base" 1.0.2 + (c++)"opencc::Exception::~Exception()@Base" 1.0.2 + (c++)"opencc::Exception::what() const@Base" 1.0.2 + (c++)"opencc::FileNotFound::~FileNotFound()@Base" 1.0.2 + (c++)"opencc::FileNotFound::FileNotFound(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"opencc::FileNotWritable::~FileNotWritable()@Base" 1.0.2 + (c++)"opencc::FileNotWritable::FileNotWritable(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"opencc::InvalidFormat::~InvalidFormat()@Base" 1.0.2 + (c++)"opencc::InvalidFormat::InvalidFormat(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"opencc::InvalidTextDictionary::~InvalidTextDictionary()@Base" 1.0.2 + (c++)"opencc::InvalidTextDictionary::InvalidTextDictionary(std::basic_string, std::allocator > const&, unsigned long)@Base" 1.0.2 + (c++)"opencc::InvalidUTF8::~InvalidUTF8()@Base" 1.0.2 + (c++)"opencc::InvalidUTF8::InvalidUTF8(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"opencc::MaxMatchSegmentation::~MaxMatchSegmentation()@Base" 1.0.2 + (c++)"opencc::MaxMatchSegmentation::Segment(std::basic_string, std::allocator > const&) const@Base" 1.0.2 + (c++)"opencc::MultiValueDictEntry::GetDefault() const@Base" 1.0.2 + (c++)"opencc::MultiValueDictEntry::ToString() const@Base" 1.0.2 + (c++)"opencc::NoValueDictEntry::GetDefault() const@Base" 1.0.2 + (c++)"opencc::NoValueDictEntry::Key() const@Base" 1.0.2 + (c++)"opencc::NoValueDictEntry::~NoValueDictEntry()@Base" 1.0.2 + (c++)"opencc::NoValueDictEntry::NumValues() const@Base" 1.0.2 + (c++)"opencc::NoValueDictEntry::ToString() const@Base" 1.0.2 + (c++)"opencc::NoValueDictEntry::Values() const@Base" 1.0.2 + (c++)"opencc::PtrDictEntry::Key() const@Base" 1.0.2 + (c++)"opencc::PtrDictEntry::NumValues() const@Base" 1.0.2 + (c++)"opencc::PtrDictEntry::~PtrDictEntry()@Base" 1.0.2 + (c++)"opencc::PtrDictEntry::Values() const@Base" 1.0.2 + (c++)"opencc::Segments::~Segments()@Base" 1.0.2 + (c++)"opencc::Segments::ToString() const@Base" 1.0.2 + (c++)"opencc::SerializableDict::SerializeToFile(std::basic_string, std::allocator > const&) const@Base" 1.0.2 + (c++)"opencc::SimpleConverter::Convert(char const*, char*) const@Base" 1.0.2 + (c++)"opencc::SimpleConverter::Convert(char const*) const@Base" 1.0.2 + (c++)"opencc::SimpleConverter::Convert(char const*, unsigned long, char*) const@Base" 1.0.2 + (c++)"opencc::SimpleConverter::Convert(char const*, unsigned long) const@Base" 1.0.2 + (c++)"opencc::SimpleConverter::Convert(std::basic_string, std::allocator > const&) const@Base" 1.0.2 + (c++)"opencc::SimpleConverter::~SimpleConverter()@Base" 1.0.2 + (c++)"opencc::SimpleConverter::SimpleConverter(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"opencc::SingleValueDictEntry::GetDefault() const@Base" 1.0.2 + (c++)"opencc::SingleValueDictEntry::NumValues() const@Base" 1.0.2 + (c++)"opencc::SingleValueDictEntry::ToString() const@Base" 1.0.2 + (c++)"opencc::SingleValueDictEntry::Values() const@Base" 1.0.2 + (c++)"opencc::StrMultiValueDictEntry::Key() const@Base" 1.0.2 + (c++)"opencc::StrMultiValueDictEntry::NumValues() const@Base" 1.0.2 + (c++)"opencc::StrMultiValueDictEntry::~StrMultiValueDictEntry()@Base" 1.0.2 + (c++)"opencc::StrMultiValueDictEntry::Values() const@Base" 1.0.2 + (c++)"opencc::StrSingleValueDictEntry::Key() const@Base" 1.0.2 + (c++)"opencc::StrSingleValueDictEntry::~StrSingleValueDictEntry()@Base" 1.0.2 + (c++)"opencc::StrSingleValueDictEntry::Value() const@Base" 1.0.2 + (c++)"opencc::TextDict::GetLexicon() const@Base" 1.0.2 + (c++)"opencc::TextDict::KeyMaxLength() const@Base" 1.0.2 + (c++)"opencc::TextDict::Match(char const*) const@Base" 1.0.2 + (c++)"opencc::TextDict::NewFromDict(opencc::Dict const&)@Base" 1.0.2 + (c++)"opencc::TextDict::NewFromFile(_IO_FILE*)@Base" 1.0.2 + (c++)"opencc::TextDict::NewFromSortedFile(_IO_FILE*)@Base" 1.0.2 + (c++)"opencc::TextDict::SerializeToFile(_IO_FILE*) const@Base" 1.0.2 + (c++)"opencc::TextDict::~TextDict()@Base" 1.0.2 + (c++)"opencc::TextDict::TextDict(std::shared_ptr const&)@Base" 1.0.2 + (c++)"opencc::UTF8Util::SkipUtf8Bom(_IO_FILE*)@Base" 1.0.2 + (c++)"rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >::~GenericValue()@Base" 1.0.2 + (c++)"rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >& rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >::operator[] >(rapidjson::GenericValue, rapidjson::MemoryPoolAllocator > const&)::NullValue@Base" 1.0.2 + (c++)"rapidjson::internal::Pow10(int)::e@Base" 1.0.2 + (c++)"std::basic_string, std::allocator > std::operator+, std::allocator >(char const*, std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"std::__detail::_Hash_node, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > >, true>* std::__detail::_Hashtable_alloc, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > >, true> > >::_M_allocate_node, std::allocator > const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple, std::allocator > const&>&&, std::tuple<>&&)@Base" 1.0.2 + (c++)"std::__detail::_Hash_node, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > >, true>* std::__detail::_Hashtable_alloc, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > >, true> > >::_M_allocate_node, std::allocator > const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple, std::allocator > const&>&&, std::tuple<>&&)@Base" 1.0.2 + (c++)"std::__detail::_Map_base, std::allocator >, std::pair, std::allocator > const, std::shared_ptr >, std::allocator, std::allocator > const, std::shared_ptr > >, std::__detail::_Select1st, std::equal_to, std::allocator > >, std::hash, std::allocator > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>::operator[](std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"std::__detail::_Map_base, std::allocator >, std::pair, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > >, std::__detail::_Select1st, std::equal_to, std::allocator > >, std::hash, std::allocator > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>::operator[](std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"std::__detail::_Map_base, std::allocator >, std::pair, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > > >, std::__detail::_Select1st, std::equal_to, std::allocator > >, std::hash, std::allocator > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>::operator[](std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"std::_Hashtable, std::allocator >, std::pair, std::allocator > const, std::shared_ptr >, std::allocator, std::allocator > const, std::shared_ptr > >, std::__detail::_Select1st, std::equal_to, std::allocator > >, std::hash, std::allocator > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node, std::allocator > const, std::shared_ptr >, true>*)@Base" 1.0.2 + (c++)"std::_Hashtable, std::allocator >, std::pair, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > >, std::__detail::_Select1st, std::equal_to, std::allocator > >, std::hash, std::allocator > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > >, true>*)@Base" 1.0.2 + (c++)"std::_Hashtable, std::allocator >, std::pair, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > > >, std::__detail::_Select1st, std::equal_to, std::allocator > >, std::hash, std::allocator > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > >, true>*)@Base" 1.0.2 + (c++)"std::_List_base, std::allocator > >::_M_clear()@Base" 1.0.2 + (c++)"std::_List_base, std::allocator > >::_M_clear()@Base" 1.0.2 + (c++)"std::pair, std::allocator > const, std::shared_ptr >::~pair()@Base" 1.0.2 + (c++)"std::pair, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > >::~pair()@Base" 1.0.2 + (c++)"std::pair, std::allocator > const, std::unordered_map, std::allocator >, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > > > > >::~pair()@Base" 1.0.2 + (c++)"std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_erase(std::_Rb_tree_node >*)@Base" 1.0.2 + (c++)"std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator >, unsigned long const&)@Base" 1.0.2 + (c++)"std::shared_ptr opencc::ConfigInternal::LoadDictWithPaths(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"std::shared_ptr opencc::ConfigInternal::LoadDictWithPaths(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_destroy()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::_M_get_deleter(std::type_info const&)@Base" 1.0.2 + (c++)"std::_Sp_counted_ptr::~_Sp_counted_ptr()@Base" 1.0.2 + (c++)"std::vector, std::allocator >, std::allocator, std::allocator > > >::reserve(unsigned long)@Base" 1.0.2 + (c++)"typeinfo for Darts::DoubleArrayImpl >@Base" 1.0.2 + (c++)"typeinfo for opencc::BinaryDict@Base" 1.0.2 + (c++)"typeinfo for opencc::Config@Base" 1.0.2 + (c++)"typeinfo for opencc::DartsDict@Base" 1.0.2 + (c++)"typeinfo for opencc::Dict@Base" 1.0.2 + (c++)"typeinfo for opencc::DictEntry@Base" 1.0.2 + (c++)"typeinfo for opencc::DictGroup@Base" 1.0.2 + (c++)"typeinfo for opencc::Exception@Base" 1.0.2 + (c++)"typeinfo for opencc::FileNotFound@Base" 1.0.2 + (c++)"typeinfo for opencc::FileNotWritable@Base" 1.0.2 + (c++)"typeinfo for opencc::InvalidFormat@Base" 1.0.2 + (c++)"typeinfo for opencc::InvalidTextDictionary@Base" 1.0.2 + (c++)"typeinfo for opencc::InvalidUTF8@Base" 1.0.2 + (c++)"typeinfo for opencc::MaxMatchSegmentation@Base" 1.0.2 + (c++)"typeinfo for opencc::MultiValueDictEntry@Base" 1.0.2 + (c++)"typeinfo for opencc::NoValueDictEntry@Base" 1.0.2 + (c++)"typeinfo for opencc::PtrDictEntry@Base" 1.0.2 + (c++)"typeinfo for opencc::Segmentation@Base" 1.0.2 + (c++)"typeinfo for opencc::SerializableDict@Base" 1.0.2 + (c++)"typeinfo for opencc::SingleValueDictEntry@Base" 1.0.2 + (c++)"typeinfo for opencc::StrMultiValueDictEntry@Base" 1.0.2 + (c++)"typeinfo for opencc::StrSingleValueDictEntry@Base" 1.0.2 + (c++)"typeinfo for opencc::TextDict@Base" 1.0.2 + (c++)"typeinfo for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for Darts::DoubleArrayImpl >@Base" 1.0.2 + (c++)"typeinfo name for opencc::BinaryDict@Base" 1.0.2 + (c++)"typeinfo name for opencc::Config@Base" 1.0.2 + (c++)"typeinfo name for opencc::DartsDict@Base" 1.0.2 + (c++)"typeinfo name for opencc::Dict@Base" 1.0.2 + (c++)"typeinfo name for opencc::DictEntry@Base" 1.0.2 + (c++)"typeinfo name for opencc::DictGroup@Base" 1.0.2 + (c++)"typeinfo name for opencc::Exception@Base" 1.0.2 + (c++)"typeinfo name for opencc::FileNotFound@Base" 1.0.2 + (c++)"typeinfo name for opencc::FileNotWritable@Base" 1.0.2 + (c++)"typeinfo name for opencc::InvalidFormat@Base" 1.0.2 + (c++)"typeinfo name for opencc::InvalidTextDictionary@Base" 1.0.2 + (c++)"typeinfo name for opencc::InvalidUTF8@Base" 1.0.2 + (c++)"typeinfo name for opencc::MaxMatchSegmentation@Base" 1.0.2 + (c++)"typeinfo name for opencc::MultiValueDictEntry@Base" 1.0.2 + (c++)"typeinfo name for opencc::NoValueDictEntry@Base" 1.0.2 + (c++)"typeinfo name for opencc::PtrDictEntry@Base" 1.0.2 + (c++)"typeinfo name for opencc::Segmentation@Base" 1.0.2 + (c++)"typeinfo name for opencc::SerializableDict@Base" 1.0.2 + (c++)"typeinfo name for opencc::SingleValueDictEntry@Base" 1.0.2 + (c++)"typeinfo name for opencc::StrMultiValueDictEntry@Base" 1.0.2 + (c++)"typeinfo name for opencc::StrSingleValueDictEntry@Base" 1.0.2 + (c++)"typeinfo name for opencc::TextDict@Base" 1.0.2 + (c++)"typeinfo name for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"typeinfo name for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"void rapidjson::GenericReader, rapidjson::UTF8, rapidjson::MemoryPoolAllocator >::ParseNumber<1u, rapidjson::GenericInsituStringStream >, rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator> >(rapidjson::GenericInsituStringStream >&, rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>&)@Base" 1.0.2 + (c++)"void rapidjson::GenericReader, rapidjson::UTF8, rapidjson::MemoryPoolAllocator >::ParseStringToStream<1u, rapidjson::UTF8, rapidjson::UTF8, rapidjson::GenericInsituStringStream >, rapidjson::GenericInsituStringStream > >(rapidjson::GenericInsituStringStream >&, rapidjson::GenericInsituStringStream >&)::escape@Base" 1.0.2 + (c++)"void rapidjson::GenericReader, rapidjson::UTF8, rapidjson::MemoryPoolAllocator >::ParseValue<1u, rapidjson::GenericInsituStringStream >, rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator> >(rapidjson::GenericInsituStringStream >&, rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>&)@Base" 1.0.2 + (c++)"void std::_Destroy_aux::__destroy, std::allocator >*>(std::basic_string, std::allocator >*, std::basic_string, std::allocator >*)@Base" 1.0.2 + (c++)"void std::vector >::_M_emplace_back_aux(char const*&&)@Base" 1.0.2 + (c++)"void std::vector >::_M_emplace_back_aux(char const* const&)@Base" 1.0.2 + (c++)"void std::vector >::node_t, std::allocator >::node_t> >::_M_emplace_back_aux >::node_t const&>(Darts::DoubleArrayImpl >::node_t const&)@Base" 1.0.2 + (c++)"void std::vector >::_M_emplace_back_aux(opencc::DictEntry const* const&)@Base" 1.0.2 + (c++)"void std::vector >::_M_emplace_back_aux(opencc::DictEntry* const&)@Base" 1.0.2 + (c++)"void std::vector, std::allocator >, std::allocator, std::allocator > > >::_M_emplace_back_aux, std::allocator > const&>(std::basic_string, std::allocator > const&)@Base" 1.0.2 + (c++)"void std::vector, std::allocator >, std::allocator, std::allocator > > >::_M_emplace_back_aux, std::allocator > >(std::basic_string, std::allocator >&&)@Base" 1.0.2 + (c++)"void std::vector, std::allocator > >::_M_emplace_back_aux >(std::pair&&)@Base" 1.0.2 + (c++)"void std::vector >::_M_emplace_back_aux(unsigned long&&)@Base" 1.0.2 + (c++)"vtable for Darts::DoubleArrayImpl >@Base" 1.0.2 + (c++)"vtable for opencc::BinaryDict@Base" 1.0.2 + (c++)"vtable for opencc::Config@Base" 1.0.2 + (c++)"vtable for opencc::DartsDict@Base" 1.0.2 + (c++)"vtable for opencc::Dict@Base" 1.0.2 + (c++)"vtable for opencc::DictEntry@Base" 1.0.2 + (c++)"vtable for opencc::DictGroup@Base" 1.0.2 + (c++)"vtable for opencc::Exception@Base" 1.0.2 + (c++)"vtable for opencc::FileNotFound@Base" 1.0.2 + (c++)"vtable for opencc::FileNotWritable@Base" 1.0.2 + (c++)"vtable for opencc::InvalidFormat@Base" 1.0.2 + (c++)"vtable for opencc::InvalidTextDictionary@Base" 1.0.2 + (c++)"vtable for opencc::InvalidUTF8@Base" 1.0.2 + (c++)"vtable for opencc::MaxMatchSegmentation@Base" 1.0.2 + (c++)"vtable for opencc::MultiValueDictEntry@Base" 1.0.2 + (c++)"vtable for opencc::NoValueDictEntry@Base" 1.0.2 + (c++)"vtable for opencc::PtrDictEntry@Base" 1.0.2 + (c++)"vtable for opencc::Segmentation@Base" 1.0.2 + (c++)"vtable for opencc::SerializableDict@Base" 1.0.2 + (c++)"vtable for opencc::SingleValueDictEntry@Base" 1.0.2 + (c++)"vtable for opencc::StrMultiValueDictEntry@Base" 1.0.2 + (c++)"vtable for opencc::StrSingleValueDictEntry@Base" 1.0.2 + (c++)"vtable for opencc::TextDict@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 + (c++)"vtable for std::_Sp_counted_ptr@Base" 1.0.2 diff --git a/debian/opencc.install b/debian/opencc.install index 68671de..1df36c6 100644 --- a/debian/opencc.install +++ b/debian/opencc.install @@ -1,2 +1 @@ usr/bin/* -usr/share/man/man1/* diff --git a/debian/patches/install-data-file-to-meet-need-of-multi-arch b/debian/patches/install-data-file-to-meet-need-of-multi-arch deleted file mode 100644 index c57c46d..0000000 --- a/debian/patches/install-data-file-to-meet-need-of-multi-arch +++ /dev/null @@ -1,15 +0,0 @@ -Description: install data file to meet the need of multi-arch - Install data files to ${DIR_LIBRARY} instead of ${DIR_SHARE} -Author: Asias He ---- ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -96,7 +96,7 @@ - set (DIR_ETC ${SYSCONF_INSTALL_DIR}) - endif (DEFINED SYSCONF_INSTALL_DIR) - --set (DIR_SHARE_OPENCC ${DIR_SHARE}/opencc) -+set (DIR_SHARE_OPENCC ${DIR_LIBRARY}/opencc) - set (DIR_SHARE_LOCALE ${DIR_SHARE}/locale) - - ######## Configuration diff --git a/debian/patches/install-data-file-to-meet-need-of-multi-arch.patch b/debian/patches/install-data-file-to-meet-need-of-multi-arch.patch new file mode 100644 index 0000000..4394c9c --- /dev/null +++ b/debian/patches/install-data-file-to-meet-need-of-multi-arch.patch @@ -0,0 +1,31 @@ +Description: install data file to meet the need of multi-arch + Install data files to ${CMAKE_INSTALL_LIBDIR} +Author: Aron Xu +Index: opencc/CMakeLists.txt +=================================================================== +--- opencc.orig/CMakeLists.txt ++++ opencc/CMakeLists.txt +@@ -69,7 +69,7 @@ set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX}) + set (DIR_INCLUDE ${DIR_PREFIX}/include/) + set (DIR_SHARE ${DIR_PREFIX}/share/) + set (DIR_ETC ${DIR_PREFIX}/etc/) +-set (DIR_LIBRARY ${DIR_PREFIX}/lib/) ++set (DIR_LIBRARY ${CMAKE_INSTALL_LIBDIR}) + + if (DEFINED SHARE_INSTALL_PREFIX) + set (DIR_SHARE ${SHARE_INSTALL_PREFIX}) +Index: opencc/src/CMakeLists.txt +=================================================================== +--- opencc.orig/src/CMakeLists.txt ++++ opencc/src/CMakeLists.txt +@@ -83,8 +83,8 @@ endif (CMAKE_BUILD_TYPE MATCHES Debug) + install( + TARGETS + libopencc +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib/static ++ LIBRARY DESTINATION ${DIR_LIBRARY} ++ ARCHIVE DESTINATION ${DIR_LIBRARY} + ) + + install( diff --git a/debian/patches/lib-name-match-soversion.patch b/debian/patches/lib-name-match-soversion.patch new file mode 100644 index 0000000..1845f8e --- /dev/null +++ b/debian/patches/lib-name-match-soversion.patch @@ -0,0 +1,15 @@ +Subject: make sure library name matches soname +From: Aron Xu +Index: opencc/src/CMakeLists.txt +=================================================================== +--- opencc.orig/src/CMakeLists.txt ++++ opencc/src/CMakeLists.txt +@@ -68,7 +68,7 @@ set_target_properties( + OUTPUT_NAME + opencc + VERSION +- 1.0.0 ++ 2.0.0 + SOVERSION + 2 + ) diff --git a/debian/patches/series b/debian/patches/series index c6810a5..de7439a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,3 @@ -install-data-file-to-meet-need-of-multi-arch +lib-name-match-soversion.patch +install-data-file-to-meet-need-of-multi-arch.patch +use-system-libraries.patch diff --git a/debian/patches/use-system-libraries.patch b/debian/patches/use-system-libraries.patch new file mode 100644 index 0000000..f05d926 --- /dev/null +++ b/debian/patches/use-system-libraries.patch @@ -0,0 +1,18 @@ +Subject: use system library instead of embeded version +From: Aron Xu +Index: opencc/src/CMakeLists.txt +=================================================================== +--- opencc.orig/src/CMakeLists.txt ++++ opencc/src/CMakeLists.txt +@@ -43,9 +43,8 @@ set( + UTF8Util.cpp + ) + +-include_directories(../deps/darts-clone) +-include_directories(../deps/rapidjson-0.11) +-include_directories(../deps/tclap-1.2.1) ++include_directories(/usr/include/rapidjson) ++include_directories(/usr/include/tclap) + + add_library( + libopencc diff --git a/debian/python-opencc.install b/debian/python-opencc.install deleted file mode 100644 index 8afd143..0000000 --- a/debian/python-opencc.install +++ /dev/null @@ -1 +0,0 @@ -src/wrapper/python/opencc.py usr/share/pyshared diff --git a/debian/rules b/debian/rules index 36a5a8e..66282ee 100755 --- a/debian/rules +++ b/debian/rules @@ -9,15 +9,23 @@ CFLAGS += $(CPPFLAGS) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: - dh $@ --with python2 + dh $@ --buildsystem=cmake --parallel override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ \ -DCMAKE_BUILD_TYPE=Release \ - -DENABLE_GETTEXT:BOOL=ON + -DBUILD_DOCUMENTATION=ON + +override_dh_auto_install: + dh_auto_install + ln -sf /usr/share/javascript/jquery/jquery.js debian/tmp/usr/share/opencc/doc/html/jquery.js + +override_dh_auto_clean: + dh_auto_clean + find . -name *.pyc -delete override_dh_strip: - dh_strip -plibopencc1 --dbg-package=libopencc-dbg + dh_strip -plibopencc2 --dbg-package=libopencc-dbg dh_strip -- 2.30.2